package com.zktr.pojo;

public class Admin {
    private int userid;
    private String username;
    private String email;
    private String password;
    private int addtime;
    private int lastlogin;
    private String rolelist;
    private int roleid;
    private String portrait;
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAddtime() {
		return addtime;
	}
	public void setAddtime(int addtime) {
		this.addtime = addtime;
	}
	public int getLastlogin() {
		return lastlogin;
	}
	public void setLastlogin(int lastlogin) {
		this.lastlogin = lastlogin;
	}
	public String getRolelist() {
		return rolelist;
	}
	public void setRolelist(String rolelist) {
		this.rolelist = rolelist;
	}
	public int getRoleid() {
		return roleid;
	}
	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}
	public String getPortrait() {
		return portrait;
	}
	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}
	public Admin(int userid, String username, String email, String password, int addtime, int lastlogin,
			String rolelist, int roleid, String portrait) {
		super();
		this.userid = userid;
		this.username = username;
		this.email = email;
		this.password = password;
		this.addtime = addtime;
		this.lastlogin = lastlogin;
		this.rolelist = rolelist;
		this.roleid = roleid;
		this.portrait = portrait;
	}
	public Admin() {
	}
	@Override
	public String toString() {
		return "Admin [userid=" + userid + ", username=" + username + ", email=" + email + ", password=" + password
				+ ", addtime=" + addtime + ", lastlogin=" + lastlogin + ", rolelist=" + rolelist + ", roleid=" + roleid
				+ ", portrait=" + portrait + "]";
	}
	
    
    
    
}
